#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@create Time:2018-11-09

@author:Brook
"""
from django import forms

from .models import Spider
from .models import Task 


class SpiderForm(forms.ModelForm):
    class Meta:
        model = Spider
        fields = "__all__"
   

class TaskForm(forms.ModelForm):
    class Meta:
        model = Task
        #exclude = ["task_id",]
        fields = "__all__"
